Special permissionsIn the system, there are some more special users or file directories, but the normal permissions can not solve our needs, so there is special authority to help us solve the problemSpecial privileges are three: SUID, SGID,
Today's maintenance of the system found a very strange problem: AAA users and BBB users belong to the same AAA group, but with AAA user-created files, permissions set to 777, or can not be deleted with BBB users. Weird!After several turnover, found
we know that in Linux, the root administrator's permissions are large, can support the execution of most programs and commands to make corresponding changes to the file, write. Of course, these functions can only be reflected on the root
Source: http://blog.chinaunix.net/uid-26642180-id-3378119.html
Detailed description of three permissions of set UID, GID, and sticky bit
Each file has an owner, indicating who created the file. At the same time, the file also has a group
The permission to see a directory today is RWXRWXRWT is surprised what this t is, how is it not X or-? Search for the following discovery:
This t represents the so-called sticky bit.
Sticky bit: This bit can be understood as an
linux-sticky bit use sticky bits (stickybit), also known as sticky bits, are a flag for UNIX file system permissions. The most common usage is to set the sticky bit on the directory,Can only be set for the record, for the effectiveness of the piece.
What ls-al/tmp see today is RWXRWXRWT is surprised what this t is, how is it not X or-? Search for the following discovery:
This t represents the so-called sticky bit.
Sticky bit: This bit can be understood as an anti-delete bit.
Sticky bits (stickybit), also known as sticky bits, are a flag for UNIX file system permissions. The most common usage is to set the sticky bit on the directory,Can only be set for the record, for the effectiveness of the piece. After the sticky
Everyone has his own dream, I want to write it out.Special permissions on the Linux file systemSUID, SGID, Sticky ( Sticky position )1 file Basic PermissionsR Read , W Write , x ExecutionUser, group, other2 Security ContextPremises: The process has
Linux Special permissions: SetUid, setGid, sticky bit (sticky) (1) x permission (execution) of the directory The executable permission of a file is simple, that is, can execute its meaning, but what does the directory Execute permission mean?of
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.